Mollie\WooCommerce\Payment\PaymentModule A

Total Complexity 66
Dependencies 16
Dependents 1
Total lines 529
Lines of code 349
Logical lines of code 222
Comment lines 80
Methods 15
Properties 6

Methods 15

Method Rating Maintainability Complexity Lines of code
shipAndCaptureOrderAtMollie()
A
43 11 46
cancelOrderAtMollie()
A
43 11 45
cancelOrderOnExpiryDate()
A
46 8 35
IsExpiryDateEnabled()
S
59 6 13
orderByRequest()
S
54 5 21
onMollieReturn()
S
50 4 29
handleExpiryDateCancelation()
S
57 4 18
maybeLetWCCancelOrder()
S
60 4 15
run()
S
45 1 45
onOrderDetails()
S
64 4 10
services()
S
49 1 36
mollieReturnRedirect()
S
67 3 8
extractRemoteItemsIds()
S
70 2 6
addOrderNoteForRefundCreated()
S
64 1 11
addOrderNoteForCancelledLineItems()
S
64 1 11